package com.lxmes.gs.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.*;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 任务统计对象 gs_task_statistics
 * 
 * @author wdf
 * @date 2023-04-24
 */
@Data
@TableName("gs_task_statistics")
public class TaskStatistics{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 项目编码 */
    @TableField(value = "project_code")
    private String projectCode;

    /** 项目名称 */
    @TableField(value = "project_name",condition = SqlCondition.LIKE)
    private String projectName;

    /** 任务编码 */
    @TableField(value = "task_code")
    private String taskCode;

    /** 任务名称 */
    @TableField(value = "task_name",condition = SqlCondition.LIKE)
    private String taskName;

    /** 任务类型 */
    @TableField(value = "task_type")
    private String taskType;

    /** 发起人 */
    @TableField(value = "initiator_person")
    private String initiatorPerson;

    /** 责任人 */
    @TableField(value = "responsible_person")
    private String responsiblePerson;

    /** 计划开始 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "plan_start_time")
    private Date planStartTime;

    /** 计划结束 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "plan_end_time")
    private Date planEndTime;

    /** 计划工时 */
    @TableField(value = "planned_working_hours")
    private Long plannedWorkingHours;

    /** 工时单价 */
    @TableField(value = "working_hours_unit_price")
    private Double workingHoursUnitPrice;

    /** 本期工时 */
    @TableField(value = "current_working_hours")
    private Long currentWorkingHours;

    /** 累计工时 */
    @TableField(value = "accumulated_working_hours")
    private Long accumulatedWorkingHours;

    /** 预算费用 */
    @TableField(value = "budget")
    private Double budget;

    /** 本期费用 */
    @TableField(value = "current_cost")
    private Double currentCost;

    /** 累计费用 */
    @TableField(value = "total_cost")
    private Double totalCost;

    /** 任务状态 */
    @TableField(value = "task_status")
    private String taskStatus;

    /** 备注 */
    @TableField(value = "remark")
    private String remark;


}
